package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_hf_discount_detail
 * 
 * @author ruoyi
 * @date 2021-05-10
 */
public class THfDiscountDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 档次说明 */
    @Excel(name = "档次说明")
    private String grade;

    /** 充值范围 */
    @Excel(name = "充值范围")
    private String recharge;

    /** 折扣 */
    @Excel(name = "折扣")
    private BigDecimal discount;

    /** 折扣明细 */
    @Excel(name = "折扣明细")
    private String discountStr;

    /** 折扣版本 */
    @Excel(name = "折扣版本")
    private Long discountVersion;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setRecharge(String recharge) 
    {
        this.recharge = recharge;
    }

    public String getRecharge() 
    {
        return recharge;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }
    public void setDiscountStr(String discountStr) 
    {
        this.discountStr = discountStr;
    }

    public String getDiscountStr() 
    {
        return discountStr;
    }
    public void setDiscountVersion(Long discountVersion) 
    {
        this.discountVersion = discountVersion;
    }

    public Long getDiscountVersion() 
    {
        return discountVersion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("grade", getGrade())
            .append("recharge", getRecharge())
            .append("discount", getDiscount())
            .append("discountStr", getDiscountStr())
            .append("discountVersion", getDiscountVersion())
            .toString();
    }
}
